﻿<h3 class="wrap-l-t">已选数据来源</h3>
<div class="wrap-l-b">
    <div class="wrap-l-b-f wrap-l-b-f1">
        <div class="wrap-l-b-f-con wrap-l-b-f-con1">
            <ul>
                @if (ViewBag.ResultColumnInfo != null)
                {
                    foreach (System.Data.DataRow dr in ViewBag.ResultColumnInfo.Rows)
                    {
                        var dbname = "";
                        var code = "";
                        var str = dr["name"].ToString().Split('#');//数据库Id，code,名称，类型
                        if (str.Length > 2)
                        {
                            dbname = str[2];
                            code = str[0];
                        }
                     
                    <li>
                        <input type="checkbox" value="@code" class='d-checkbox'/>
                        <a href="javascript:void(0)" onclick="javascript:SingleDatabaseSelect('@code')">@dbname<span class="data-num">(@dr["count"])</span></a></li>
                           
                    }
                }
@*<li><input type="checkbox" class='f-checkbox'/>本单位图片数据库<span class="data-num">(39)</span></li>
                            <li><input type="checkbox" class='f-checkbox'/>本单位图片数据库<span class="data-num">(39)</span></li>
                            <li class='last'><input type="checkbox" class='f-checkbox'/>本单位图片数据库<span class="data-num">(39)</span></li>*@
            </ul>
            <div class="tr">
                <a href="javascript:void(0)" onclick="javascript:selectAll()">全选</a>&nbsp;&nbsp;&nbsp;
                <a href="javascript:void(0)" onclick="javascript:cancelAll()">清除</a>&nbsp;&nbsp;&nbsp;
                <a href="javascript:void(0)" onclick="javascript:seachunion()">检索</a>
            </div>
        </div>
    </div>
</div>
